List type

The List type is like an array or vector. Like the Map type, it stores a number of values within one variable, but does not relate values to keys.

To store a list of three values, use the Set variable part, separate the individual values by commas and enclose them within square brackets:
x1 <- [12,42,27]

To access individual values, enclose an integer value argument within square brackets, starting with 0 for the first element. This looks like a map variable; if this is the first time the variable is used this way, it will be interpreted as a map.

The '+' operator joins lists together. Use the Size function to determine the total number of values in a list.

Tips for use:

See also: